package cn.iocoder.yudao.module.agent.controller.admin.user.vo;

import cn.iocoder.yudao.framework.common.validation.Mobile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class AgentBindBrokerageReqVO {

    @Schema(description = "代理会员编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "24870")
    @NotNull(message = "代理编号id不能为空")
    private Long agentUserId;

    @Schema(description = "代理分销电话", requiredMode = Schema.RequiredMode.REQUIRED, example = "24870")
    @NotNull(message = "分销电话不能为空")
    @Mobile
    private String brokerageUserMobile;

    @Schema(description = "验证码", requiredMode = Schema.RequiredMode.REQUIRED, example = "24870")
    @NotNull(message = "验证码不能为空")
    private String code;

}
